.yf-message {
    display: inline-block;
    min-width: 200px;
    text-align: center;
    padding: 10px 20px;
    position: fixed;
    z-index: 999;
    top: 5%;
    left: 50%;
    transform: translate3d(-50%, 0, 0);
    border-radius: 10px;
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
}

.yf-message--info {
    background-color: aqua;
}

.yf-message--success {
    background-color: greenyellow;
}

.yf-message--error {
    background-color: red;
}